package com.keyancompany.zhongbaopingtai.model;

import java.io.Serializable;

/**
 * Created by firefox on 2017/3/27.
 */

public class EventBusEntity {

    public interface Type {
        int HEAD = 1;
        int USERNAME = 2;
        int USERDISC = 3;
        int COLLECTION = 4;
        int TEAM_EXIT = 5;
        int CIRCLE_EXIT = 6;
        int CHOOSE_ITEM = 7;
        int ACCOUNT_NAME = 8;
        int REFRENCE = 9;
        int REFRENCE_TEAM = 10;
        int REFRENCE_WEEKLY = 11;
    }

    int type;
    Serializable item;
    int position;

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public EventBusEntity(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Serializable getItem() {
        return item;
    }

    public void setItem(Serializable item) {
        this.item = item;
    }
}
